<%@ tag language="java" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ attribute name="name" type="java.lang.String" required="true" description="验证码输入框名称"%>
<div class="l-input ">
    <i class="fa fa-minus-square-o"></i>
    <input type="text" value="" placeholder="验证码" id="${name}" name="${name}" maxlength="5" />
</div>
<div class="l-verifi-code"><img title="看不清？点击刷新" src="${pageContext.request.contextPath}/servlet/validateCodeServlet?height=40&width=100" onclick="$(this).attr('src','${pageContext.request.contextPath}/servlet/validateCodeServlet?'+Math.random());" class="mid ${name}" /></div>

<%-- <a href="javascript:" onclick="$('.${name}').attr('src','${pageContext.request.contextPath}/servlet/validateCodeServlet?'+new Date().getTime());" class="mid ${name}Refresh" style="${buttonCssStyle}">看不清</a> --%>
